import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/yb_chinese_text/yb_chinese_text.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBHomePage/YBSubPage/YBHomePageMiShuPage.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBUtils/YBBaseUtils/YBCallPhoneUtils.dart';

class YBHomePageMainSPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
        child: Padding(
            padding:EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20,top: YBTextStyle.adapterSize24),
            child: Column(
              mainAxisAlignment: MainAxisAlignment.start,
              crossAxisAlignment: CrossAxisAlignment.stretch,
              children: [
                Container(
                  child: Text(YBChineseText.homeTextBanShiTitle,style: YBTextStyle.textStyle18181818Medium,),
                ),
                Container(
                  child: InkWell(
                    child: Padding(
                      padding:EdgeInsets.only(top:YBTextStyle.adapterSize12),
                      child: Image.asset(YBImageStyle.getImagePath("zhangshangjifen"),fit:BoxFit.fitWidth,height: YBTextStyle.adapterSize100,),
                    ),
                    onTap: () async {
                      YBCallPhoneUtils().getCallPhoneUtils("tel:400826272");
                    },
                  ),
                ),
                // Container(
                //   child: Padding(
                //     padding: EdgeInsets.only(left: 0,right: 0,top: YBTextStyle.adapterSize24),
                //     child: YBHomePageMiShuPage(),
                //   ),
                // ),
              ],
            ),
        ),
    );
  }
}
